{% extends 'window.twig' %}
{% block body %}
    <div class="admin-main-container">
        <form action="addRule.json" method="post" class="form-horizontal data-view">
            <div class="with-padding">
                <div class="form-item">
                    <label class="item-label">资源标识<span class="check-tips">（标识唯一不能重复）</span></label>
                    <div class="controls">
                        <input type="text" class="form-control" name="name" value="">
                    </div>
                </div>
                <div class="form-item">
                    <label class="item-label">资源名称<span class="check-tips"></span></label>
                    <div class="controls">
                        <input type="text" class="form-control" name="title" value="">
                    </div>
                </div>
            </div>

            <div class="form-item with-padding" style="margin-top: 10px;">
                <button class="btn btn-primary ajax-post" type="submit">确 定</button>
                <a class="btn btn-info" href="model.list">返 回</a>
            </div>
        </form>
    </div>
{% endblock %}